package com.matu.domain;

public class StationVelo {

	private String nom;
	private boolean status;
	private Long nbVelosDisp;
	private Long nbPlacesVelo;
	private Long nbTotalPlaces;
	private double latitude;
	private double longitude;
	
	
	/**
	 * Constructeur
	 * @param nom
	 * @param nbVelosDisp
	 */
	public StationVelo(String nom, boolean status, Long nbVelosDisp, Long nbPlacesVelo,
			double latitude, double longitude) {
		this.nom = nom;
		this.status = status;
		this.nbVelosDisp  = nbVelosDisp;
		this.nbPlacesVelo = nbPlacesVelo;
		this.latitude = latitude;
		this.longitude = longitude;
		nbTotalPlaces = nbVelosDisp + nbPlacesVelo;
	}

	
	public String getNom() {
		return nom;
	}
	
	public void setNom(String nom) {
		this.nom = nom;
	}
	
	public boolean getStatus() {
		return status;
	}
	
	public void setStatus(boolean status) {
		this.status = status;
	}
	
	public Long getNbVelosDisp() {
		return nbVelosDisp;
	}
	
	public void setDisponible(Long nbVelosDisp) {
		this.nbVelosDisp = nbVelosDisp;
	}
	
	public Long getNbPlacesVelo() {
		return nbPlacesVelo;
	}
	
	public void setNbPlacesVelo(Long nbPlacesVelo) {
		this.nbPlacesVelo = nbPlacesVelo;
	}
	
	public double getLatitude() {
		return latitude;
	}
	
	public void setLatitude(double latitude) {
		this.latitude = latitude;
	}
	
	public double getLongitude() {
		return longitude;
	}
	
	public void setLongitude(double longitude) {
		this.longitude = longitude;
	}
	
	public Long getNbTotalPlaces() {
		return nbTotalPlaces;
	}
}
